/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package models;

import java.io.Serializable;

/**
 *
 * @author simone
 */
public class TravelWayDTO implements Serializable{
 
    private String nameWay;
    private int idTWay;

    public TravelWayDTO(String nameWay, int idTWay) {
        this.nameWay = nameWay;
        this.idTWay = idTWay;
    }

    public TravelWayDTO() {
    }

    public String getNameWay() {
        return nameWay;
    }

    public void setNameWay(String nameWay) {
        this.nameWay = nameWay;
    }

    public int getIdTWay() {
        return idTWay;
    }

    public void setIdTWay(int idTWay) {
        this.idTWay = idTWay;
    }
    
    
}
